﻿using SqlSugar;

namespace OldDataSync.NewDomains
{
    /// <summary>
    /// 心理评估风险模型实体表
    /// </summary>
    public class PAQuestion : BaseDomain
    {
        /// <summary>
        /// 名称
        /// </summary>
        [SugarColumn(Length = 50, ColumnDataType = "nvarchar")]
        public string Name { set; get; }

        /// <summary>
        /// 是否为单选
        /// </summary>
        public bool Radio { set; get; }

        /// <summary>
        /// 值
        /// </summary>
        [SugarColumn(Length = 10, IsNullable = true)]
        public string Value { set; get; }

        /// <summary>
        /// 分类
        /// </summary>
        [SugarColumn(Length = 15, IsNullable = true)]
        public string Category { set; get; }

        /// <summary>
        /// 规则
        /// </summary>
        [SugarColumn(Length = 65, IsNullable = true)]
        public string Rule { set; get; }

        /// <summary>
        /// 必选
        /// </summary>
        public bool Required { set; get; }

        /// <summary>
        /// 顺序
        /// </summary>
        public int Order { set; get; }
    }
}
